class LoginModel {
  String access_token;
  String token_type;
  int expires_in;
  String userName;
  String userID;
  String dateTime;
  String mobile;
  String userType;
  String sn;
  String issued;
  String expires;

  LoginModel.fromJson(Map<String, dynamic> json)
      : access_token = json['access_token'],
        token_type = json['token_type'],
        expires_in = json['expires_in'],
        userName = json['userName'],
        userID = json['userID'],
        dateTime = json['dateTime'],
        mobile = json['mobile'],
        userType = json['userType'],
        sn = json['sn'],
        issued = json['.issued'],
        expires = json['.expires'];

  Map<String, dynamic> toJson() => {
        'access_token': access_token,
        'token_type': token_type,
        'expires_in': expires_in,
        'userName': userName,
        'userID': userID,
        'dateTime': dateTime,
        'mobile': mobile,
        'userType': userType,
        'sn': sn,
        '.issued': issued,
        '.expires': expires,
      };
}
